package io.renren.modules.efinance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 
 * @author lhf
 * @email i@lhf.com
 * @date 2022-06-24 17:18:43
 */
@Data
@TableName("accountflow")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AccountflowEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 交易流水号
	 */
	@TableId
	private Integer accountflowId;
	/**
	 * 交易时间
	 */
	private Date accountflowTime;
	/**
	 * 交易类型，1转账，2充值，3提现
	 */
	private String accountflowType;
	/**
	 * 交易金额
	 */
	private BigDecimal accountflowMoney;
	/**
	 * 收款账户名
	 */
	private String accountflowPayeeaccount;
	/**
	 * 收款方姓名
	 */
	private String accountflowPayeename;
	/**
	 * 付款方账户名
	 */
	private String accountflowPayeraccount;
	/**
	 * 付款方姓名
	 */
	private String accountflowPayername;
	/**
	 * 账户余额
	 */
//	private BigDecimal accountflowBalance;
	/**
	 * 交易备注
	 */
	private String accountflowRemarks;
	/**
	 * 交易状态，0交易失败，1交易成功
	 */
	private Integer accountflowStatus;

	@TableField(exist = false)
	private String bankcardIdcard;

}
